﻿#ifndef CARETAKER_H
#define CARETAKER_H

#include "Memento.h"
#include <memory>

using namespace std;

class Caretaker
{
private:
    shared_ptr<Memento> m_memento;
public:
    Caretaker();
    const shared_ptr<Memento> &getMemento() const;
    void setMemento(const shared_ptr<Memento> &memento);
};

#endif // CARETAKER_H
